using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_BoPhanEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_BoPhanEntity()
         {
             tableName = "TBL_BoPhan";


			 fieldInfos.Add(new FieldInfo("TBL_BoPhan","MaBoPhan","MaBoPhan","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_BoPhan","MaQuanLy","MaQuanLy","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_BoPhan","MoTa","MoTa","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_BoPhan","TenBoPhan","TenBoPhan","string",50,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaBoPhan;
		 protected string m_MaQuanLy;
		 protected string m_MoTa;
		 protected string m_TenBoPhan;

		 public string MaBoPhan

          { 
                get { 
                    return m_MaBoPhan;}

                set{m_MaBoPhan=value;

                    GetField("MaBoPhan").Set();
                    GetField("MaBoPhan").IsNull=(value == null);           
                    }
          }
		 public string MaQuanLy

          { 
                get { 
                    return m_MaQuanLy;}

                set{m_MaQuanLy=value;

                    GetField("MaQuanLy").Set();
                    GetField("MaQuanLy").IsNull=(value == null);           
                    }
          }
		 public string MoTa

          { 
                get { 
                    return m_MoTa;}

                set{m_MoTa=value;

                    GetField("MoTa").Set();
                    GetField("MoTa").IsNull=(value == null);           
                    }
          }
		 public string TenBoPhan

          { 
                get { 
                    return m_TenBoPhan;}

                set{m_TenBoPhan=value;

                    GetField("TenBoPhan").Set();
                    GetField("TenBoPhan").IsNull=(value == null);           
                    }
          }

}
}
